<template>
  <div class="d-pic">
    <img class="pic-model" :src="getScr()" crossorigin="anonymous">
  </div>
</template>

<script>
export default {
  name: 'DPic',
  props: {
  	formItem:{
  		type: Object,
  		default: {}
  	}
  },
  methods: {
    getScr(){
      let _self = this
      let {imageUrl} = _self.formItem['configH5']
      return imageUrl || ''
    }
  },
}
</script>

<style scoped lang="scss">
.d-pic{
  display: block;
  .pic-model{
    display: block;
    width: 100%;
    object-fit: contain;
  }
}
</style>
